package extension

import (
	redis "github.com/redis/go-redis/v9"
)

var (
	rdb *redis.Client
)

func init() {
	rdb = redis.NewClient(&redis.Options{
		Addr:     "bt.alomerry.com:6379",
		Password: "WjC120211wJc", DB: 0,
		MinIdleConns: 1,
		PoolSize:     1000,
	})
}

func GetRDB() *redis.Client {
	return rdb
}
